package com.ssy.lingxi.purchase.model.request;

import com.ssy.lingxi.common.model.vo.PageVO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-10-29
 */
@Setter
@Getter
public class RequisitionTransPageReq extends PageVO {
    /**
     * 请购单编号
     */
    @Size(max = 20, message = "请购单编号最长20个字符")
    private String requisitionNo;

    /**
     * 摘要
     */
    @Size(max = 100, message = "摘要最长100个字符")
    private String digest;

    /**
     * 会员名称
     */
    @Size(max = 200, message = "供应商会员名称最长200个字符")
    private String memberName;

    /**
     * 预交起始日期，格式为yyyy-MM-dd
     */
    private String startDate;

    /**
     * 预交结束日期，格式为yyyy-MM-dd
     */
    private String endDate;

    /**
     * 部门
     */
    @Size(max = 50, message = "部门最长50个字符")
    private String department;

    /**
     * 用途
     */
    @Size(max = 100, message = "用途最长100个字符")
    private String purpose;

    /**
     * 请购人
     */
    private String requisitioner;

}
